add main script
Add code coverage