Added options to upload as of #sf4 and #sf5 and basic CLI input.