Refactor dockerbot setup script