Setting up main outlet.