recover scripts