move script/install functionality into Makefile

and fix the apache config