adding basic heartbeat script to repo