updated resize.py to include features in resize2.py