Fix script rights.