Fixed issue with missing directory