Fixed program handling

Added revision