Added ability to specifiy an adapter path.