Updated comments and socket permissions