Fix environmental variable check at beginning of scripts
Move .dotrc.sample to appropriate config directory