Added AND for bash and check for symbol type redefinition