commented out /home check. Credit to https://github.com/lideshi