adding sql and pp file