Simplifying activate script.