Updated makefile and script so that it will create a metrics directory if it isn't present