add daemon and move lock location