restore script added