Removes extraneous lines that were causing launch errors