Fixing opt files