fix run_fs to use any input image