improved automation in escript creation