Using escript:create, sample code from the escript doc and values from the rebar escriptize code.