Move python sourcing script to plugin file