Fix script paths for upload