Amendment NO. 4 to credit agreement