A small script for XDU's course