Add check repo script
Rename Block model tableName. Fix permissions.