Removed unnecessary lines in script