using realpath rather than hard coded
Merge pull request #1 from swooingfish/master

using realpath rather than hard coded