Sql statements and images added.