Using xrtQook for script generation