Added an command line argument splitter
updated resource swither