run apply_sql.py in finish_setup.sh