add robust manager shell script