modify script for add camera module