Star trek 3 writer