General Setting the path before run