Modify jail periodic script to cover weekly/monthly periodic as well