moved from shell to command entrypoint