Removes debug messages to create a release version