after failure script is now less bad