added option for position based defenition of handle
adding error when no bc's found
changed sbatch to work with the handle position defenition