API now closes child side pipe connection directly in parent. change_user.sh changes all user related things in the database. create_db.sql and prepare_mysql.sh are upgrades.