added emcs script to start daemon