Amended to use a main() definition, now printing the admin password as well