fix script working path