Changes to script (trying to optimze)