Add missing directories on Agent