add sql script and support bootstrap