The script in bin/ has to be linked to the original script in erlang/lib, because escript will use the original script path to locate the necessary data files and it does not handle symlinks.