loading pages from extensions

Should we use constants?