Rename and refactor argument extract and strip
Refactor common_arguments

Also, fix logging substitution and improve logging output