Moved prepare statements down -- tables were not created before statements were prepared -- in Eye