Change to using :Error and :Warning instead of :Print where appropriate.