changed event SQL, fixing status results. sorted scraps to dirs