Add assignment and return remark and script for existing data