Use "loop" instead of "while true" everywhere and configure "slice_script" to run indefinitely (until killed)