fixed bug where __file__ was used rather than cwd; found via acceptance tests