added check for symlinks and new jar