separated preprocessor code from pyel.org
implemented try/except
merged changes into pyel.org