Hello, Nicholas. This bug has been fixed in R13B02. Upgrade to R13B02 or delete %%! from your escript. Answer to my bug report: http://www.erlang.org/cgi-bin/ezmlm-cgi?2:msp:1460:ihedkfpokaibbannbafi -- Sergey Samokhin