Fixed string replacement so that the commit ID is correctly generated to
manifest
Added more documentation