admin-script fix