add arg passing to manage script and fix CI config