moving old sqls to old