better handling of called from outside of local directory
better handling of missing password
added target directory to be ignored