add support for single instance
Merge remote-tracking branch 'origin/master'