add game script api