factorised customise.sh