REF: forgot -y flag
REF: forgot to retrieve -y arg
OPT: added exception in case output folder is local