Fixed activate script