Polish compile script
drawing config is done.Not fully checked.
drawing config is done.Not fully checked.