added sim script, formatting is now a bit more pleasing to the eye