inheritance from script