Fix script origin path