make it possible to specify which path to open