output help via h flag
adding perms printing