Added header and footer by using My_Loader, found on stack overflow.