feat(engine): document script compilation

related to #CAM-2098