Python and AMT code added