AUTOMATED OGLE PHOTOMETRY PIPELINE