Refactor passwordLegacy update script
Tiny changes
Update Vagrantfile