Cleaned up the target directory. Fixed a issue in the bat file