Fixes extra commas, removes redundant getpass password check.