added scripts that run on slaves