use target.bash, only return code is needed