prepctan.sh script