minor fix wrapper script