Minor update
Converted preloading code to a function (command_arguments)