adding the chmod to the statedcoded folder