initializing slime only if path exists

It's a hack. Will figure out better way in the future.