Recover scripts functionality.