Add auto folder rename function for stand alone jar