Add support for standalone and detached execution of composer.