added room aliases, changed modality selection query for arqoid compability