modified the way of changing user shell
added add-env-var() function, done changed-files() function