reworked update script to be a basic folder execution script