Plugin split into command like and gui mode and mac version is woking fine