Added hook-ups to main application page