select target and source dir