updated autopnp_scenario.py with recent fixes from hmi
code cleaning