changes to run scripts automatically