removing debug logging
fixing sneaky directory bug