Update amprupdate.py

Make the distance parameter configurable, but keeping default value of 30.
Merge branch 'master' into patch-6

Conflicts:
	amprupdate/amprupdate.py
t push origin masterMerge branch 'patch-6'