added compile script for format tool