write funtion added to Console. Makefile.inc moved to utils