Wow! Function for PHP. Collect fucntion scripts for us