Re added (import sys)
removed local lowry path, made unix/win comaptible dirs