Finally got it to work