changed script to auto increment ID columns