Moved to prepared statments to save resources. Ready to run now.