finished work on the script