added home directory redirection for issue #1