Updated pymolrc with trap function