replace package loader from config to bootstrap