Cleaned imports
Improved resizing