delete scripts directory
safe close database