move cert to input
fix syntax error
Merge pull request #277 from teharrison/develop

bug fixes and updates