Fixes camelCase
Only modify selected files if we find a main file. If addpaused is not defined use client defaults