Add deprecation warning to sample script