Record and display the script type