Added possibility to run script by passing argument in the command line.