Create build scripts and parse arguments to main function.