added options[:last] to dump command