The school prospered under his superintendence, but he had constant conflicts with the local pastor and council. His frequent requests for funds for repairs of the school building were usually rejected. In 1796, he wrote his most famous work, Czech Christmas Mass "Hey, Master!" (named by him as Missa solemnis Festis Nativitatis D. J. Ch. accommodata in linguam bohemicum musicam), also as a consequence of a reconciliation with the local pastor. This work continues to be frequently performed at Christmas time in Bohemia.
