Added code to run script