convert comments to preliminary script