added src_dir option