moved glance db sync from workaround script to glance.sh