minor modifications:
0. once system.ini is sources used APP_DIR ENV var
1. Populate the OUT var with the STD{ERR,OUT} of the MySQL command and output in the event of failure.