Move image replacement out of helper and into misc.
Remove page margins from print styles.