output train.vw from db
test.sh and submission.sh