converted application to a yii command