Switched sending pm to masters using msgMasters function