This is the bit that you need to add to your .js to make Twinkle record prods and AfD's

//TW scripts
importScript('User:AzaToth/morebits.js');
importScript('User:AzaToth/twinklefluff.js');
importScript('User:AzaToth/twinklewarn.js');
importScript('User:AzaToth/twinklearv.js');
importScript('User:AzaToth/twinkleimage.js');
importScript('User:AzaToth/twinklediff.js');
importScript('User:AzaToth/twinkleprotect.js');
importScript('User:AzaToth/twinklexfd.js');
//TW CSD script, customized to log all CSD noms.
importScript('User:Tim Song/twinklespeedy.js');
//TW PROD script, customized to log PRODs and endorsements.
importScript('User:Tim Song/twinkleprod.js');

I also have this, which stops Twinkle from watchlisting stuff;

//TW CONFIG
if( typeof( TwinkleConfig ) == 'undefined' ) TwinkleConfig = {}; // DO NOT REMOVE THIS LINE - ALL TWINKLE SETTINGS AFTER THIS
TwinkleConfig.watchProdPages	=	false;
TwinkleConfig.watchRevertedPages=	[];
TwinkleConfig.watchSpeedyPages	=	[];
TwinkleConfig.watchWarnings	=	false;
TwinkleConfig.watchProdPages	=	false;
//TW END