disabled joblib caching, modified paths so that it works on both cluster and mac, added comments