reset database python script