Bash: Moved some scs-specific stuff away from the common bash file.