fixed upload  and method of searching fo rimage to boot