Trying to build the full sec script