updated std script