Add parameter to run as daemon