make it work when specifying a path to it