Removed debug line from build.sh and updated version string to extract build number from production builds if provided and reformat header output string