changed position of extracting samples modules
switching to parameter files