document sys args again, change script main to pass through some args