script to start spray application