Refactoring camera script (broke some stuff) :)