Deleted script temp files, fixed script