fix Makefile & init script