This is all covered in the tutorial I linked you to, so when you change the frame, you need to change all those factors as well (unless you never want to get to that)