Implemented suggestion to remove empty lines.

Script will fail if extra empty line is added in configuration at the beginning of script code. 
Adding re/ re.Sub() to remove these lines should prevent potential issues.