KATHMANDU, April 29: The Supreme Court on Wednesday directed the government to immediately implement the provisions of Criminal Offense (Sentence Determination and Implementation) Act, 2017 on prison reforms and releasing of detainees.