Compilation and extraction scripts