Resolve scripts based on supported extensions.