SECOND AMENDED AND RESTATED MASTER TERMINALLING SERVICES AGREEMENT