Getting the havlak loop programs to run