Fixed setup sql script