Made pre launch functions, and gateways to require componentd