Sqlite3 : Wrong table became deleted during attach database querry from python
===

I`m using SQLite version 3.3.6  from python 2.7.2.
While executing this querry with executescript() from python script: 

    attach database 'Capacity.db' as WeekAgo ; drop table if exists maximums ;  create table maximums (Element TEXT UNIQUE, Score NUMBER , Report TEXT); insert into maximums (Element, Score, Report) select * from WeekAgo.maximums ;   

I always ending up with deletion of WeekAgo.maximums  table in attached database and script crashing that no WeekAgo.maximums exists anymore. What am i doing wrong ?  Without DROP IF EXISTS , everything works fine. 