[ LIBRARY ] - switch between dev/production[READONLY] mode