refactor vagrant package step to separate script