Print alert on error
Move RESULTS_DIR definition to config
Print posted result instead of demo