added output spec, fixed app.src