RegisterScript stub