Gentlemen, this has been done to death elsewhere....
A few simple questions;
1. Did the ATC flight plan have your name on it?
2. Did you sign for the aircraft in the technical log ?
3. Where you the companies appointed commander for the flight?
4. Have you done your companies command course & hold a command endorsement for the aircraft?
Any response to the negative & you are not PIC.