Changed working directory to sudo user instead of root