import reference script modified