Remove commented text
Update synchronize script to use direct database access