reordered create script