Created pbs files for all studies