Finished both scripts