diff --git a/read.py b/read.py
index 7bfc50a724a2dfd231dac62a8807549abdf3b116..c6335d433dc11cdf4798fb9f711c1c4eab139fb5 100644
--- a/read.py
+++ b/read.py
@@ -14,6 +14,9 @@ Contains the following functions:
 
     * ERV - does the actual extraction, read and validation of data input data
     * main - the main function of the script
+    
+Can be run as a script with:
+    python -m mdf_reader data_file **kwargs
         
 """
 
@@ -337,8 +340,3 @@ def main(source, data_model = None, data_model_path = None, sections = None,chun
     
     return output()
 
-if __name__=='__main__':
-    kwargs = dict(arg.split('=') for arg in sys.argv[2:])
-    if 'sections' in kwargs.keys():
-        kwargs.update({ 'sections': [ x.strip() for x in kwargs.get('sections').split(",")] })
-    main(sys.argv[1], **kwargs) # kwargs