update make file and script