cleaned up for better use of mkdtb.mk
cleaned up and edited.still working out bugs.