Fix return argument type
Use passed in url for docker access
Cleanup main