Added random export password for security.
streamlined return status for internal use