fix ct_run with app.config

#241 
I suppose the extra blank lines were added deliberately for readability, right?