Issue #876 Default the script_type to 'lua'