Fixed tar on Mac OS X.
Added PHP control structures.