script to set parameters and delete binary files