Made source and target directories configurable