Updates to activity management
Merge remote-tracking branch 'origin/master'