added a fetch before checking out the branch
not cd'ing to the scripts dir.