Deploy script now extracts correctly and copies the configuration with correct extension.