batch and startupScript and startupCode come in through options