added some paths and fixed some stuff in the old scripts