setting up black magic 'preprocessor'