Use absolute paths
Move response to separate function