added features for gallery usage
attempt to fix travis build