making more scriptable