cleanup

die() and print_r() removal