Improving predictions code and adding --optimize option

did you mean 'Disables'?