Changing directive on multi-line hash