switched to php and dynamic version number