added local path option