update pkg script and bootstrapping