return is useless when script thorws exception