Changed script to run without interaction