Added some logic for responding

oh god tabs
okay
Merge pull request #6 from jayferd/response_logic

Added some logic for responding