python file to do the SF