Removed dependency on PHP