managed to encode my data in the script