use local copy of mem generator script