mods to logging in for automation
automation fully works for random selects