fixed some code that did not have an absolute directory...not 100% sure if absolute is necessary, though