path is changed accoriding to instance