Added os.abspath to path to fix relative path issues