reverted sql scripts back to the first version