adding json when starting app