return is useless when script throws exception