adding the daemon gem and fixing kibana init script