Fixed bug in chunk_resources string, and updated pbs script creation.
Fixed bug in chunk_resources string, and updated pbs script creation.

datasnakes/Datasnakes-Scripts,datasnakes/Datasnakes-Scripts,datasnakes/Datasnakes-Scripts,datasnakes/Datasnakes-Scripts,datasnakes/Datasnakes-Scripts,datasnakes/Datasnakes-Scripts