more flexibility in build-snapshot