modified string creation for osmosis subprocess