Refactored to allow for multiple sized dotcoms