Former captain and senior batsman Younis Khan's return to the national team was made possible only after he assured Pakistan Cricket Board chairman Ejaz Butt that he would strictly adhere to the players' code of conduct.
Younis met with Ijaz Butt in Lahore after which the chief selector Mohsin Khan announced that the senior batsman had been picked for the One-day and Test series against South Africa.
The legal advisor of the PCB Talib Rizvi said during the meeting Younis assured the chairman there would be no more complaints about him.
"He has given the Chairman an undertaking in writing that in future he will strictly follow the code of conduct and follow all team regulations," Rizvi said.
"Younis also expressed his regrets over incidents of the recent past and told the chairman it would not happen again," he added.
The PCB chairman had refused to give clearance to the selectors to consider Younis despite an appellate tribunal of the board lifting an indefinite ban on the player in July.
Younis was among seven players who were either banned or fined by the board on the recommendations of an inquiry committee which probed the poor performance of the team on the tour to Australia early this year.
Although the appellate tribunal removed the ban on Younis but Butt made it clear that there were some disciplinary issues with the former captain and he would have to first sort them out with the board before he could be cleared for selection.
Younis finally met with Butt after the PCB last week sent him a notice asking him to meet with the board to resolve issues or face more penalties and legal action.
Rizvi said the Butt had now made it clear to all players that there would be zero tolerance towards indiscipline or misconduct.
"Clear instructions have also been issued to manager, Intikhab Alam and we hope the players will not repeat their past mistakes again."
Intikhab told the media in Lahore that he hoped he would never have to take tough decisions in the forthcoming series against South Africa and that the players would adhere to the code of conduct and behave themselves.
"We have had enough problems in the last few months and I just hope we don't have a situation where we have to send a player back home for indiscipline. Because the board has said there will be no leniency shown now at all."
The players have been told to sign the revised code of conduct which incorporates some recommendations made by the ICC with reference to anti-corruption measures before they leave for Abu Dhabi for the South Africa series.