[TLBB] Implement factory reset script