Trying compile on Mac
Merging
Added --bg option