Improved freertos checkout script