Implements importing scripts with the 'use' directive.