Fixed sage script