add "cat" function to modelscript