Pass arguments to wrapper script corrrectly