Improve execution method via script tag