Adding refactored fwlite script