move main() trigger to userscript