adding ci script as plugin