Quick and dirty fix for my needs.