adding z direct script