added daemon example file