fix loading of other script files