Rename optimizedFlip to optimizedFlip.R