Fix autopac script for bvm