FOURTH AMENDMENT TO credit agreement