(CNN)–If you're charged with a nonviolent crime in one Alabama town, you might just have the chance to pray it all away.

Starting this week, under a new program called Operation ROC (Restore Our Community), local judges in Bay Minette, Alabama, will give those found guilty of misdemeanors the choice of serving out their time in jail, paying a fine or attending church each Sunday for a year.

The goal of the program is to help steer those who are not yet hardened criminals the chance to turn their lives around. Those who choose to go to church (there are no mosques or synagogues in the area) will have to check in with a pastor and the police department each week, CNN affiliate WKRG reported. Once you attend church every week for a year the case would be dismissed.

Police Chief Mike Rowland said the measure is one that would help save money and help direct people down the right path. Rowland told WKRG it costs $75 a day to house each inmate.