fixed small errors which crept in as a result of the dependancy on librsvg. Added image building to normal process