Fix debug box deployment, add SQL image upload script.