Amended CI script