Added ducking
Updated connection.py code.