aded strip to erlang cookie and removed manual start at end