Added initial working verson. No error checking and specific to me at the moment
Added check for empty arguments