some automated scripts for initing