Instead of harcoding create phantom.sh script dynamically