change arguments of main
fix escript creation and add -emu-args option