load component for each env