fix component script path