load modules dynamically based on loaded page