script working for adding sensors 1 by 1