Refactored docker helper scripts into a docker call