pinger - main script