Fixed flags usage with environments
Updated readme