cleans up source (i.e. removes dinosaur serial code)