Hi, I have the following code in the Initialisation section that compiles and has worked without any issues in Piced version 4.4.1 and running on a C-Touch Mark 2 with logic. In version 4.6.1 I get the following error: Error C179 at line 40:14 - Function or Procedure not supported for this Project type. Can use "Allow use of all Functions for Testing" on Logic Options form for temporary use of this function. Code: If (DayOfWeek in ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"]) and (Time >= "8:00:00 AM") and (Time <= "6:00:00 PM") then PWork_Hours {Procedure} else PAfter_Hours; {Procedure} Can anyone advise what the issue could be. Thanks in advance.