dynamically inject pages