pass arguments to regenerate script