Fixed example to be more accurate
Made script fail on incorrect archive format