Removed 1140 framework and added in some variables.
FIxed a wee bug.