renamed folders and updated 'slim' algorithm.