Revert "Fixed agility.py issue"

This reverts commit 8afe1e4af1b8970741d51fab711a625f81e478ae.