adde scripts to controll the trains node