Added main script that will be called from Jenkins