Added optional default darkrpvar val