Only apply sub and prn options if they have been set.

Signed-off-by: Ryan Benoit <rdbenoit@me.com>