Fix script positions