Converted but nonrunnable python code & Add enableTimePolicy flag to pde file