Removed double section
add template parameter for mktemp command for Mac compatibility
formatting
Added build.bak directory
Use curl instead of wget, remove temporary stuff, backup previous builds