init mac app