fixed fedora script