user defined codes now working properly, and logged to daily/psych log at start expt