fixing setup script. adding tags on managed machines