The draft bill would be introduced into Parliament if the Scottish government secured the necessary powers from the UK government.