Changed how CreateTile method is called

Simplified call using shell function