updated reference script