added error script