corrected script refs