shutil and getpass used instead of os subprocess