adding a silent mode
silent mode works when -no-opt