add and update scripts