regenerate cache rather than put in github
added source dir setter