Made destination directory variable and changed version for commons