build-and-run script