industry specific

simplified the industry specific script using functions