support both with one set of scripts