added all params to external script. fixes #185