updated hawkAPI2.py