Added more clarification to try, except statements

Also changed lines 37 and 38. No longer changes the active directory
back to scripts if it was scripts before