Some basic exception handling, do it better. Backup now.