Added indexes sql; Fixed spaces;