updated Process function to use percentages as size input in order to work properly on any platform independant of screen size