Adding back main tex