This appears to be the correct script