Added sql script and notes