Replaced dw source directory stuff for c