modified scripts for CI issue