Fix export, script and style references;