Removed unnecessary lines from script