updated code for vagrant installation