Community programs help students stay on the straight and narrow