Fixes #1

This fixes #1  by adding app id support