Program only runs from directories which have /home as parent directory