adds test loop and svg export script