trying to register script