Adjust so it can be run inside and outside of vagrant