add python script for testing functionality