bash script to add activity object