remove scripts; add DBNAME env variable