update and remove old scripts