Add php script for adding global variable