image magic script