fix main script path