Fixed execute permission.
Fixed a bug introduced into trim_routes.py in my merge commit.

Also added better print statements.