Works better from outside of directory