enhance script to check super constructor calls