Change the logic of scripts execution: data node first, then manager