Fix backward compatibility

Sorry but changes in #2 are not  enough for backward compatibility.
You are going to be prompted after updating the gem, this means cron job does not work correctly.
I've also added `domain` key check.