updated outflow map script, and moved php files