Add acquire() function to simplify common command
Rename SQL script for authors export for consistency
Use acquire() function to simplify commands