adjusted rmpi script for theme settings option