Make compatible with running on Cloud9.
Made runnable on cloud 9 and localhost