Sandwich Police Chief Michael Miller told the Globe that Mayen discovered the security breach two weeks ago , notifying detectives who were able to determine that the scheme netted close to $ 50,000 .