-p to set directory path, first stage