Updated with initialapp