Replace setup in analyze.py, fix get_args to get all args