ScApplication example