set up environment for bundle