Fixing unless statement to use share_base instead of share_built which used to be one variable