updated build and run script