Fixed manage classes script