small code style fix
use items instead of iteritems
made executable