Moved everything inside of run() in camera