connect script and some ajax plus an SQL dump