Removing dpi option and switching to arbitrary units
Script works!
Cleaned up some extra code