use bootstrap() method to set working dir