Reverted to Python 2.6-style string formatting for compatibility