add code to regclassconf file