Many tasks get repeated that aren't necessary creating unneeded errors and adding to the script run time. Things like stashing when there are no changes to stash need to go.