Worked out most of the rails funkiness.  Moved the rails specific scripts into a rails directory and the php placeholder scripts into php.