Merge pull request #194 from denis-mentey/dev

DirectoryCatalog is not initialized if script name isn't passed.