adding __dirname before modules to allow for bin dir