Connect to the resolution cube

Made so that the resolution script is conected to the game engine.
Right now I am using a test function
Out of index

The loop in Cube Resolution gets out of index need to adress this issue.