added code so that the app startups on booting.