fixed bugs and added slurm script to run extract script