Updated scripts for new main classes.