testing out writeOutCommandArguments to be neater