Edited for AppHarbor