An Example ScriptModule and Advanced Function