Remove the unused lines of the script