added check for vagrant