added logging script in Makefile