fix to load-bety script