Convert dataset id arg to int in new 'v1' scripts.

(Avoids string being split into multiple chars when passed as db arg)