fixed setup script
fetch server role at startup