Add two rake tasks: db:rebuild_indexes and import:remove_backup