Code to make scheduling rehearsals much easier