Changes to work with the new api, message sound added