changed app id
added cronjob and updated index