update bash script with title field