added config prop
fixed exit script
added two tries for killing child properties