add sphinx rotate script