Script for building catalog structure in public part