Updated to read from system property, confirmed that it is working.