automation script to run everything