allow path to be specified