Just answered my own question on Stack Overflow. Had to end it with PEBKAC. http://t.co/tdmfZVpH