Section 1A. The department of correction shall be subject to sections one through eight, inclusive, and shall not otherwise be subject to this chapter, notwithstanding the exclusion of said department from the definition of the word ''agency'' in section one.