added 404 added sed one liner and fixed some formatting