Just created a runScript method to run string scripts