Removing commented out lines and extra spaces