added parameters -h and -P <backup_target_path> and made it mandatory
changed order of getopts and other variables set