added log to the ebuilds and changed the way of operating