fix script placement