Fixed path for dep var and add -x option