All the JEC macros and setup scripts taken from Jorge after he left.