added checking if tables exists when creating, added indexes creation to -a all