Update optimizer logging
Update optimization
Rename script
Little fix
Update if code generation