fixed Makefile.targat
make fixes, run scripts fixes