customized compile script