added inheritance branch to the script