fixed script refs