Updating method issueAdvancedOptions to consider variables repositories and removing not used imports.