except my two systems are solaris and mac. anyway i've got my hand on the right .bin and flashed it and everything seems ok even if i lost everything. so i have an add-on idea for your script: create a snapshot for backup purpose of your entire n9 with upload option to remote server via ssh.