Add the build code script
Fix some code typos