changed sys path append to sys path insert so that the inserted path is in the beginning of the array