Updating to use the resin preprocessor