Print out the location of the image file at the end of the script. Also shutdown debian after installing kernel to improve instance deleting time