add check for invalid pr and added pr only option

Fixes #193 and closes #184