Changed to a php based setup with requires.