adding in more error checking and switching to a dotted dotfile