Convert CorelDraw Scripts to Macros

Hi. I am upgrading a legacy project that uses CorelDraw x5 to use X8 instead. I need to convert a large number of X5 CorelDraw scripts for use with X8 but don't know where to start. Is their a tutorial that explains how to use scripts in X8.