updated script snippet