author mode script