Tick script is not working with non-default influxdb configuration

Hi there,
Am having 2 influxdb in kapacitor configuration
Basic idea is, i need retrieve data from master influx to test influx ( * kapacitor is running on test)

So i have the tick script to pick data from master to test and its working fine … But when i used tick script to do some transformation with in test its not working.

After that i found its coz of configuration we use default=true for master influx when i make test as default=true then tick script for test environment is running but master tick script is not running

is it possible?
First script is to pick data from master influx and post it into test
Second script for doing some transformation on data and insert into another measurement in test itself