fix some issues in Makefile
    add backup function
    remove some unneeded scripts