fixes bug and adds vagrantfile