Modify behaviour on local and RTD build