Updated to become a daemon earlier so that opening works