Makefile adjustments; write control file if not present
Missed remove debug print()