New common options

Adding options "d" for the working directory and "V" for script version