Setup for self defined modes
Cleanup of index page