add git usage in arguments
rename script function to prebuild