Enhance script in order to build directly any camera