fixed makefile, added init script