* Added failsafe to Peta script