Added success and failure command