took and corrected h2_policy
h2_policy integrated with main. main.py fixed