Update python script for server side crypt