updated sql scripts and home page layout