started on init app script