Bug - forgot to return undefined items.
Made it executable with hashbang etc.