Validate hook scripts when restoring layers