boot in the correct environment