added script to reinitialize everything