added logger + image building