-p flag now actually does something aside from printing a message