make status bool static
add more logfiles to aid with debugging