change input format, add environments variables