added a second script and reordered the script steps