dynamically load page to use instead of having to require pages one by one