system("cp -fRp $dir/controlpanel") or die "Problems copying dir : $!\n";