added lines that were missing in the script file