Setup opt files and created logs/run