Fix script directory