New password code with argument passed on command line