Add priority to commands
Added commands_overlap function to check for overlap in blend_commands