hopefully fixed /usr/local/share vs /usr/share problem
fixed if to elif