fix path of the main script