allow custom directory