Supports the command line argument '-console', which triggers the
synchronization headlessly