Adds pre and post build script functionality and templates