public function refreshNewInstance($selfedit = "false", $instanceName=null, $instanceClass=null) {
        $moufCache = new MoufCache();
        $moufCache->purgeAll();

        header("Location: newInstance2?selfedit=".$selfedit."&instanceName=".urlencode($instanceName)."&instanceClass=".urlencode($instanceClass));
    }