updated app init file