Populate script refs