Fixing missing __dirname
Release v1.0.4