fix script directions