Don't require starting from project directory

Seems like pull request #18 stalled, so here is my version of fix for issue #17.