fix cloudbees scripts