fixing targets in the makefile and adding associated config files