Add support for scripts/pre_compile