Cleaned up the mechanism to set PATH: should happen seamlessly whether the shell is created via SSH, screen, or desktop enviroment