Standalone

Adds a standalone option as per #327