diff --git a/src/finn/core/remote_exec.py b/src/finn/core/remote_exec.py
index 0574e9b3c0ae1a8c98d6bdc44a8c81ea0ea2f7e5..69e603dcfd1a4535676c6e6eb072a91b2e8e15c2 100644
--- a/src/finn/core/remote_exec.py
+++ b/src/finn/core/remote_exec.py
@@ -85,7 +85,7 @@ def remote_exec(model, execution_context):
 
     # use platform attribute for correct remote execution
     if platform == "alveo":
-        remote_cmd = "bash -i alveo_run.sh execute %d" % (batchsize)
+        remote_cmd = "bash -ic 'bash alveo_run.sh execute %d'" % batchsize
     else:
         remote_cmd = (
             "python3.6 driver.py --exec_mode=execute --batchsize={} "
diff --git a/src/finn/core/throughput_test.py b/src/finn/core/throughput_test.py
index 4f349dcabfa016a54332faee811e0bb470c86319..df746cff4bbe7bf550679d1dc592bbb3f567512e 100644
--- a/src/finn/core/throughput_test.py
+++ b/src/finn/core/throughput_test.py
@@ -70,7 +70,7 @@ def throughput_test_remote(model, batchsize=1000):
 
     # use platform attribute for correct remote execution
     if platform == "alveo":
-        remote_cmd = "bash -i alveo_run.sh throughput_test %d" % (batchsize)
+        remote_cmd = "bash -ic 'bash alveo_run.sh throughput_test %d'" % batchsize
     else:
         remote_cmd = (
             "python3.6 driver.py --exec_mode=throughput_test --batchsize={} "