implemented standalone + file:// app environment