Adding Code for QS Shift

Code is incomplete, but will be switching computers.