Make both command and path optional in escript