fix ct_run with app.config

#241 
Same copyright and editor config header as above applies here.